#pragma once

#include <stddef.h>

#ifndef OUT
#define OUT
#endif

#ifndef INOUT
#define INOUT
#endif

#ifdef _WIN32
typedef signed char	int8_t;
typedef short		int16_t;
typedef int			int32_t;
typedef __int64		int64_t;
typedef unsigned char  uint8_t;
typedef unsigned short uint16_t;
typedef unsigned int   uint32_t;
typedef unsigned int   uint64_t;
#else
#include <inttypes.h>
#endif

#ifndef size_t
typedef uintptr_t size_t;
#endif

#ifndef diff_t
typedef ptrdiff_t diff_t;
#endif
